x86/cpuid: update signature of hvm_cr4_guest_valid_bits()
authorSergey Dyasli <sergey.dyasli@citrix.com>
Thu, 22 Mar 2018 11:32:36 +0000 (11:32 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 5 Apr 2018 09:41:42 +0000 (10:41 +0100)
commit451004603247205467ec34b366b4cfa3814a5d95
tree1e482370cd050623508cb6dd5a1bbc9d8b91e870
parent9383de210e747f15d0fd10ade89e35d543fbc4e8
x86/cpuid: update signature of hvm_cr4_guest_valid_bits()

With the new cpuid infrastructure there is a domain-wide struct cpuid
policy and there is no need to pass a separate struct vcpu * into
hvm_cr4_guest_valid_bits() anymore. Make the function accept struct
domain * instead and update callers.

Signed-off-by: Sergey Dyasli <sergey.dyasli@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
xen/arch/x86/hvm/domain.c
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/svm/svmdebug.c
xen/arch/x86/hvm/vmx/vmx.c
xen/arch/x86/hvm/vmx/vvmx.c
xen/include/asm-x86/hvm/hvm.h